package com.crcode.crm.bean.index;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author xzq
 * @date 创建时间：2018年4月3日 上午9:28:35
 * @version 1.0
 */
@Entity
@Table(name = "arc_index_vindicate")
public class SolrIndexBean implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id")
	private Integer id;// 索引表
	@Column(name = "table_name")
	private String tableName;// 数据表英文名
	@Column(name = "unique_id")
	private String uniqueId;// 数据表唯一主键值
	@Column(name = "index_type")
	private String indexType;// 索引类型，0删除，1修改，2新增
	@Column(name = "create_time")
	private Date createTime;// 创建时间

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getUniqueId() {
		return uniqueId;
	}

	public void setUniqueId(String uniqueId) {
		this.uniqueId = uniqueId;
	}

	public String getIndexType() {
		return indexType;
	}

	public void setIndexType(String indexType) {
		this.indexType = indexType;
	}
}
